<?php
@session_start();
$usernumber=$_SESSION['userId'];
$path = basename($_SERVER['PHP_SELF']);
if (empty($usernumber)&&$path!="bloglist.php"&&$path!="pictures.php"){
		echo"<meta http-equiv=Content-Type content='text/html;charset=utf-8' />";
  	    echo"<script>
		window.location.href='index.php?error=3&jumpUrl=$path';
		</script>"; 
}
?>
